package com.gulimall.product.dao;

import com.gulimall.product.entity.AttrGroupEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gulimall.product.entity.AttrGroupWithAttrVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 属性分组
 * 
 * @author ht
 * @email ht035200@163.com
 * @date 2020-04-08 11:13:29
 */
@Mapper
public interface AttrGroupDao extends BaseMapper<AttrGroupEntity> {

    /**
     * 查询
     * @param catId id
     * @return 结果
     */
    List<AttrGroupWithAttrVo> getAttrGroupWithAttrs(@Param("catId") Long catId);
}
